function getAllNews(method) {
  let res = null;
  switch (method) {
    case "GET":
      res = {
        "newsId": 1,
        "title": "更新更新",
        "content": "更新测试",
        "userId": 0,
        "image": "http://81.69.0.39:8999/unistrong/a.jpg",
        "type": 0,
        "isRelease": false,
        "createDate": "2022-03-13 19:21:13",
        "updateDate": "2022-03-30 17:54:30",
        "releaseDate": null
      };
      break;
    default:
      res = null;
  }
  return res;
}

module.exports = getAllNews;
